package com.dm.common.enums;

/**
 * 任务类型
 *
 * @author dm
 */
public enum TaskStatus {
    NONE("1", "未运行"), GOING("2", "运行中"), OVER("3", "完成"), ERROR("4", "出错");

    private final String code;
    private final String info;

    TaskStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
